package com.xx.service;

import com.xx.domain.Permission;
import com.xx.domain.Role;

import java.util.List;
import java.util.Map;

public interface RoleServce {
    List<Role> findALl();
    int deleteOne(int rId);
    int deleteAll(int rIds[]);
    int insertOne(Role role);
    List<Permission> findList(int rId);
    int insertPermission(Map map);
}
